package com.prime.tutorial.moviestore.dao;

import com.prime.tutorial.moviestore.domain.City;
import com.prime.tutorial.moviestore.domain.Country;
import com.prime.tutorial.moviestore.domain.Street;

import java.util.List;

public interface StreetDAO extends GenericDAO<Street, Long> {

    public List<Street> findByName(String name);

    public List<Street> findWithDevicesInCity(Country country, City city);
}